<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旋转盒子</title>
    <style>
        *{margin: 0;padding: 0;list-style-type: none;}
        .wrap{
            position: absolute;
            left: 0;right: 0;top: 0;bottom: 0;
            margin: auto;
            width: 200px;
            height: 200px;
            
            perspective: 800px;
            transform-style: preserve-3d;
            border: 1px solid aqua;
        }
        .wrap .box{
            position: relative;
            width: 200px;
            height: 200px;
        }
        .wrap .box li{
            position: absolute;
            left: 0;right: 0;
            width: 200px;
            height: 200px;
        }
        .wrap .box li:nth-child(1){
            background: url(../../img/作业8/1.webp) center/cover;
            transform: rotateX('90deg') translateZ(100px) ;
        }
    </style>
</head>
<body>
    <div class="wrap">
        <ul class="box">
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</body>
</html>